<script src="/app/js/vconsole.min.js"></script>
<script src="//do.yunzhijia.com/pub/js/qingjs.js"></script>
<script src="/app/js/jquery-3.0.0.min.js"></script>

<input type="hidden" name="openId" id="openId" value="5a601352e4b01e0aec546086">
<div class="tolist">
    <div class="checkInfo_right">
        <div class="checkInfo_button">加入清单</div>
    </div>
</div>
<script>
    var vConsole = new VConsole();
    $(".tolist").click(function () {
        var openId = $('#openId').val();
        $.get("/getbill/" + openId + "/", function (data) {
           // console.log(location.origin + data.fileDownloadUrl);
            XuntongJSBridge.call('showFile',
                    {
                        'fileName': data.fileName,
                        'fileExt': data.fileExt,
                        'fileTime': data.fileTime,
                        'fileSize': data.fileSize,
                        'fileDownloadUrl':data.fileDownloadUrl
                    },
                    function (result) {
                        console.log(JSON.stringify(result));
                    }
            );
        });
    });


</script>